package com.miaoke;

import com.miaoke.entity.User;
import com.miaoke.service.UserService;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        UserService us=RpcProxyFactory.getInstanceProxyByInterfaceClass(UserService.class);
        User user = us.insert(new User("zhangsan", 20));
        System.out.println(user);
    }
}
